.pdfjs {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.pdfjs .viewerContainer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .3s;
}

.pdfjs .pdfViewer {
  position: relative;
  top: 0;
  left: 0;
  padding: 10px 8px;
}

.pdfjs .pdfViewer .pageContainer {
  width: 100%;
  margin: 0px auto 8px auto;
  position: relative;
  overflow: visible;
  -webkit-box-shadow: darkgrey 0px 1px 3px 0px;
  -moz-box-shadow: darkgrey 0px 1px 3px 0px;
  box-shadow: darkgrey 0px 1px 3px 0px;
  background-color: white;
  box-sizing: border-box;
}

.pdfjs .pdfViewer .pageContainer img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 100;
  user-select: none;
}

.pdfjs .pdfViewer .pageContainer canvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 100;
  user-select: none;
}

.pdfjs .pageNum {
  padding: 0px 7px;
  height: 26px;
  position: absolute;
  top: 20px;
  left: 15px;
  z-index: 997;
  border-radius: 8px;
  transition: all .3s;
  display: none;
}

.pdfjs .pageNum-bg,
.pdfjs .pageNum-num {
  width: 100%;
  height: 100%;
  line-height: 26px;
  text-align: center;
  position: absolute;
  top: 0px;
  left: 0px;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
}

.pdfjs .pageNum-bg {
  background: rgba(0, 0, 0, 0.5);
}

.pdfjs .pageNum-num {
  position: relative;
}

.pdfjs .pageNum span {
  color: #fff;
  font-size: 16px;
}

.pdfjs .loadingBar {
  position: absolute;
  width: 100%;
  z-index: 99;
  background: #fff !important;
  height: 4px;
  top: 0px;
  left: 0px;
  transition: all .3s;
}

.pdfjs .loadingBar .progress {
  background: #fff !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  overflow: hidden;
  transition: width 200ms;
}

.pdfjs .loadingBar .progress .glimmer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(100% + 150px);
  background: #7bcf34;
}

.pdfjs .backTop {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: absolute;
  bottom: 90px;
  right: 15px;
  font-size: 18px;
  z-index: 999;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4) url() no-repeat center;
  background-size: 50% 50%;
  transition: all .3s;
  display: none;
}

.pdfjs .loadEffect {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
  z-index: 99;
  background: url() no-repeat center;
  background-size: 30% 30%;
  transition: all .3s;
}

.pdfjs .pdfViewer .pageContainer img.pdfLogo {
  /* user-select:none; */
  position: absolute;
  z-index: 101;
}

.pdfjs .pdfViewer .pageContainer canvas.pdfLogo {
  /* user-select:none; */
  position: absolute;
  z-index: 101;
}

.pdfjs .textLayer {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.2;
  line-height: 1.0;
  z-index: 101;
  user-select: text;
}

.pdfjs .textLayer>br::selection {
  background-color: transparent !important;
}

.pdfjs .textLayer>span {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  transform-origin: 0% 0%;
}

.pdfjs .textLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: rgba(180, 0, 170, 1);
  border-radius: 4px;
}

.pdfjs .textLayer .highlight.begin {
  border-radius: 4px 0px 0px 4px;
}

.pdfjs .textLayer .highlight.end {
  border-radius: 0px 4px 4px 0px;
}

.pdfjs .textLayer .highlight.middle {
  border-radius: 0px;
}

.pdfjs .textLayer .highlight.selected {
  background-color: rgba(0, 100, 0, 1);
}

.pdfjs .textLayer ::selection {
  background: rgba(0, 0, 255, 1);
}

.pdfjs .textLayer .endOfContent {
  display: block;
  position: absolute;
  left: 0px;
  top: 100%;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  cursor: default;
  /* user-select: none; */
}

.pdfjs .textLayer .endOfContent.active {
  top: 0px;
}